<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class IndexController extends Controller
{
    
	$IP = $_SERVER["REMOTE_ADDR"];
	if($IP =='127.0.0.1'){
		//原来开始
		public  function index(){
    	$title = '后台主页';
    	return view('admin.index.index',['title'=>$title]);
    	} 
    	//结束

	}else{
	echo "你想干吗！！";
	}





    
}
